package com.caocaog.market.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.caocaog.market.entity.Serve;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 服务信息
 *
 * @author chechen
 * @date 2021-11-09
 */
public interface ServeMapper extends BaseMapper<Serve> {

    IPage<Serve> queryServePage(Page<Serve> page, @Param("serve") Serve serve);

    List<Serve> selectByTypeAndShopLatLng(String serveType);
}
